package com.tanhua.sso.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration//是这个类为配置类
@PropertySource("classpath:aliyun.properties")//导入aliyun文件的数据
@ConfigurationProperties(prefix = "aliyun.sms")//设置每个数据的前缀为aliyun.sms
@Data
public class AliyunSMSConfig {
    private String regionId;
    private  String accessKeyId;
    private  String accessKeySecret;
    private  String domian;
    private  String signName;
    private  String templateCode;
}
